body {
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fef0e6;
    max-width: 100%;
}

header{
    background-color: #252525;
    padding:20px 15px 0px 15px;
    position: sticky;
    top: 0px;
    z-index: 101;
}

footer{
    background-color: #252525;
    padding:0px 15px 30px 15px;
    color: #ffffff;
}

@font-face {
    font-family: Poppins;
    src: url(../poppins.ttf);
    font-weight: bold;
}

.headerstatic{
    background-image: url('../images/headerbg.jpg');
    height: 52px;
    color: #FFFFFF;
    font-size: 32px;
    font-family: 'Poppins', Sans-serif;
    font-weight: bold;
    text-align: center;
    line-height: 53px;
    z-index: 99;
}

h1{
    padding:0;
    margin:0;
}

h2{
    color: #373737;
    text-transform: uppercase;
    text-align: center;
    margin:0;
    padding: 10px 0px 10px 0px;
}

h3{
    color: #373737;
    text-transform: uppercase;
    text-align: center;
    margin:0;
    padding: 20px 0px 20px 0px;
}

.logo{
    width:177px !important;
    max-width: 177px !important;
}

.burger-menu{
    color: #FFFFFF;
}

.burger-links{
    position: absolute;
    padding: 30px;
    background-color: #252525;
    margin-left: -15px;
    margin-top: 25px;
    z-index: 100;
}

.burger-links a{
    color: #FB8346 !important;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    padding:10px;
}
nav{
    text-align: center;
}

.navUL{
    list-style: none;
    display: inline-flex;
    margin:0;
}

.navUL li{
   /*padding-bottom: 1.25rem;*/
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    line-height: 38px;
    text-transform: uppercase;
}

.navUL li a{
    color: #FB8346 !important;
    text-decoration: none;
    font-weight: bold;
}

.navcart{
    width: 2.625rem;
    height: 2.625rem;
    text-decoration: none;
}

.navcart,.navright img{
    width: 30px;
    height: 30px;
}

.navcartcount{
    background-color: #ffffff;
    color: #e37740;
    height: 20px;
    width: 20px;
    border-radius: 10px;
    text-align: center;
    line-height: 20px;
    font-size: .78rem;
    font-weight: bold;
    display: inline-block;
    top: -28px;
    position: relative;
    right: 10px;
}

.adminnav ul{
    list-style: none;
    display: inline-flex;
    margin:0;
}

.adminnav li{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    line-height: 38px;
    text-transform: uppercase;
}

.adminnav li a{
    color: #FB8346 !important;
    text-decoration: none;
    font-weight: bold;
}

.container {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.categoriescontainer{
    background-color: #FCD3B5;
}

.products {
    display: flex; /* Align items in a row */
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Optional: for smooth scrolling */
    position: relative; /* For positioning buttons */
    float: left;
    width:100%;
}

.product {
    scroll-snap-align: start; /* Optional: snap to each product */
    min-width: 200px; /* Set a minimum width for each product */
    max-width: 200px; /* Set a minimum width for each product */
}

.categoryname {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color:#252525;
    text-transform: uppercase;
}

.categoryimg{
    width: 100px;
    height: 100px;
    border-radius: 50px;
    object-fit: fill;
}

.productname {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color:#252525;
}

.productname:hover {
    color:#FB8346;
}

.productname div{
    word-wrap: break-word;
    max-width: 200px;
    height: 50px;
    overflow: hidden;
}

.productprice{
    padding:5px 0 0 0;
    font-weight: bold;
}

.minusbtn{
    border-top-right-radius: 0;
    border-bottom-right-radius:0;
    height:25px;
    line-height:5px !important;
}

.plusbtn{
    border-top-left-radius: 0;
    border-bottom-left-radius:0;
    height:25px;
    line-height:5px !important;
}

.addtocartbtn{
    width:150px;
    margin-top:5px;
}

.floatleft{
    float:left;
}

.clearboth{
    clear:both;
}


.scroll-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* Ensure buttons are above other elements */
}

.scroll-button.left {
    margin-top:150px;
    position: absolute;
    z-index: 10;
}

.scroll-button.right {
    margin-top:150px;
    position: absolute;
    z-index: 10;
    right: 0;
}

.productdetailcont{
    display: flex;
    width:80%;
    margin:20px auto 20px auto;
}

.productdetailimgcont{
    width: 40%;
    max-width: 400px;
}

.productdetailimg{
    height:400px;
    min-width:100%;
    width: 100%;
    line-height: 396px;
    vertical-align: middle;
    text-align: center;
    /*border: solid 2px #000000;*/
}
.productimgbig{
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
    text-align: center;
    object-fit: contain;
    object-position: center;
}
.productdetailtext{
    padding-left:50px;
    width:60%;
    text-align: justify;
}
/* Size Error Styles */
.size-error-message {
    background: #ffebee;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid #d32f2f;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.size-error-message .warning-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.size-error-highlight {
    border: 2px solid #d32f2f !important;
    background-color: #fff5f5;
    padding: 15px;
    border-radius: 4px;
}


@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.size-option {
    margin: 8px 0;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.size-option:hover {
    background: #f5f5f5;
    transform: translateX(3px);
}

.size-option input[type="radio"] {
    margin-right: 10px;
    accent-color: #1976d2;
}

input[type=text], input[type=number], input[type=stock], input[type=email], input[type=tel], input[type=password], textarea, select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    max-width: 500px;
  }

  .quantitybox, .quantity-controls input[type=number]{
    width: 30px;
    text-align:center;
    margin: 8px 0;
    border: 1px solid #ccc;
    height: 25px;
    display: inline;
    padding: 0;
    border-radius: 0;
}

.changeorderstatus select{
    width: auto;
    text-align:center;
    margin: 0;
    border: 1px solid #ccc;
    height: 25px;
    display: inline;
    padding: 0;
    border-radius: 0;
}

.changeorderstatus button {
    background-color: #e37740;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    width: 80px;
    margin-left: 10px;
}

.size-options input[type=number]{
    width: 100px;
    text-align:center;
    margin: 0px 0;
    border: 1px solid #ccc;
    height: 25px;
    display: inline;
    padding: 0;
    border-radius: 0;
}
  .checkoutcontainer{
    display: flex;
    margin-bottom: 20px;
}
  .checkoutaddress{
    padding-left: 20px;
    width: 50%;
}

.checkoutorderdetails{
    width: 350px;
    border: solid 1px;
    padding: 10px;
    background-color: #fcdecf;
}

.checkoutorderdetails table{
    width: 100%;
}

.container table, .container th, .container td, 
.photo-container table, .photo-container th, .photo-container td,
.manageproducts table, .manageproducts th, .manageproducts td
{
    border: 1px solid black;
    border-collapse: collapse;
    padding:5px;
  }
  
  .updatebtn,   .updatebtn:hover{
    background-color: unset;
    color: #3300ed;
    border: none;
    padding: 0px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: normal;
    text-decoration: underline;  
  }

  .checkouttextlable{
    text-transform: capitalize;
    margin: 0px 0px -5px 5px;
  }

  .req {
    color: red;
  }
  
  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
  
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 50px;
    left: -40px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .checkoutorderdtl{
    width: 30%;
    border-collapse: collapse;
    float: left;
  }

  .checkoutbillingdtl, .checkoutshippingdtl{
    width: 35%;
    border-collapse: collapse;
    float: left;
  }

  .viewallbtn{
    padding-right:10px;
    text-align: right;
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
  }

  @media (max-width: 1420px) {
    .products {
        width:100%;
    }
    nav{
        display: block;
    }
    .productdetailcont{
        display: flex;
        width:80%;
        margin:20px auto 20px auto;
    }
}

@media (min-width: 1081px) {
    .productdetailcont{
        display: flex;
        width:80%;
        margin:20px auto 20px auto;
    }    
}

@media (max-width: 1080px) {
    .productdetailcont{
        display: flex;
        width:100%;
        margin:20px auto 20px auto;
    }    

    .checkoutcontainer{
        display: block;
        margin-bottom: 20px;
    }
    .checkoutaddress{
        padding-left: 20px;
        width: auto;
    }
    .checkoutorderdetails{
        width: 90%;
        min-width: 350px;
        max-width: 500px;
        border: solid 1px;
        padding: 10px;
        background-color: #fcdecf;
    }
    .checkoutorderdtl{
        width: 100%;
        border-collapse: collapse;
        float: left;
      }
    
    .checkoutbillingdtl, .checkoutshippingdtl{
    width: 100%;
    border-collapse: collapse;
    float: left;
    }
}


@media (min-width: 721px) {
    .burger-menu{
        display: none;
    }
}

@media (max-width: 720px) {
    .products {
        width:100%;
    }
    .burger-menu{
        display: block;
    }
    nav{
        display: none;
    }
    .productdetailcont{
        display: block;
        width:100%;
        margin:20px auto 20px auto;
    }
    .productdetailtext{
        padding-left: 10px;
        width:100%;
    }
    .productdetailimgcont{
        width: 100%;
        max-width: 400px;
    }
}

@media (min-width: 468px) {
    .product{
        min-height: 310px;
    }
}

@media (max-width: 468px) {
    .products {
        width:100%;
    }
    .burger-menu{
        display: block;
    }
    nav{
        display: none;
    }
    .productdetailcont{
        display: block;
        width:100%;
        margin:20px auto 20px auto;
    }
    .productdetailtext{
        padding-left:10px;
        width:90%;
    }
    .productdetailimgcont{
        width: 100%;
        margin: auto;
    }
    .quantity-controls{
        display: none;
    }
    .product {
        scroll-snap-align: start; /* Optional: snap to each product */
        min-width: 125px; /* Set a minimum width for each product */
        min-height: 175px;
    }

    .productimg{
        max-width:100px;
        max-height:100px;
    }
    .productimgdiv {
        max-width: 100% !important;
        max-height: 100px !important;
        line-height: 100px !important;
    }
    .productprice {
        padding: 0px;
        font-weight: normal;
        font-size: 12px;
    }
    .addtocartbtn {
        width: 100px;
        margin-top: 0;
        height: 20px;
        line-height: 1px;
    }
    .productname {
        text-decoration: none;
        font-size: 15px;
        font-weight: bold;
        color: #252525;
    }
    h2 {
        padding: 0px 0px 0px 0px;
        font-size: 16px;
    }
    .scroll-button.right {
        margin-top: 80px;
    }
    .scroll-button.left {
        margin-top: 80px;
    }
    .categoriescontainer {
        margin-bottom: 10px;
        padding-top: 10px;
    }
    .categoryname {
        text-decoration: none;
        font-size: 13px;
        font-weight: bold;
        color: #252525;
        text-transform: uppercase;
        max-height: 30px;
        overflow: hidden;
    }
    .viewallbtn{
        padding-right:10px;
        text-align: right;
        font-size: 12px;
        text-decoration: none;
        color: #007bff;
    }

}

@media (max-width: 352px) {
    .products {
        width:100%;
    }
    .burger-menu{
        display: ;
    }
    nav{
        display: none;
    }
}

.categories {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    position: relative;
    float: left;
    width: 100%;
}



.category {
    margin: 10px;
    padding: 10px;
    text-align: center;
}

.product {
    flex: 1 1 30%;
    margin: 5px 5px 5px 5px;
    padding: 8px 5px 5px 5px;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: top;
}

img {
    max-width: 150px; /* Set maximum width */
    max-height: 150px; /* Set maximum height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures the image maintains its aspect ratio */
    border-radius: 10px; /* Existing style for product images */
}

button, .linkbutton {
    background-color: #e37740;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
}


button:hover, .linkbutton:hover {
    background-color: #bd4408;
    text-decoration: none;
}

.productimgdiv{
    line-height: 152px;
}

.productimgdiv{
    max-width: 500px;
    max-height: 500px;
}

.product div > *{
    vertical-align: middle;
    line-height: normal;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

